From: Owen W. Taylor Date: Thu, 30 Sep 2010 16:41:20 +0000 (-0400) Subject: Remove use of octal constants X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9698 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=734d93087ae8b28780752ac7dc2dda7dc7cbf5e5;p=gnome-shell.git Remove use of octal constants New spidermonkey warns on octal constants, so we can't even use them for file permissions. Switch to hex plus a comment. --- diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index f5c6663b1..9a4aaf9a9 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -211,7 +211,7 @@ ContactManager.prototype = { throw new Error('Could not parse connection path ' + connPath); info.cacheDir = this._cacheDir + '/' + match[1]; - GLib.mkdir_with_parents(info.cacheDir, 0700); + GLib.mkdir_with_parents(info.cacheDir, 0x1c0); // 0x1c0 = octal 0700 // info.names[handle] is @handle's real name // info.tokens[handle] is the token for @handle's avatar